Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to FastaReferenceWriter #1285

Merged
merged 3 commits into from
Feb 18, 2019
Merged

Changes to FastaReferenceWriter #1285

merged 3 commits into from
Feb 18, 2019

Conversation

lbergelson
Copy link
Member

  • make sure the OutputStreams are always buffered
  • change close behavior to be more likely to close all output streams in
    the event of an early shutdown
  • loosen restriction from BufferedWriter to Writer in
    SAMSequenceDictionaryCodec and SAMTextHeaderCodec

@codecov-io
Copy link

codecov-io commented Feb 15, 2019

Codecov Report

Merging #1285 into master will increase coverage by 0.006%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             master     #1285       +/-   ##
==============================================
+ Coverage     67.49%   67.496%   +0.006%     
  Complexity     8150      8150               
==============================================
  Files           558       558               
  Lines         33365     33365               
  Branches       5608      5608               
==============================================
+ Hits          22518     22520        +2     
+ Misses         8658      8657        -1     
+ Partials       2189      2188        -1
Impacted Files Coverage Δ Complexity Δ
src/main/java/htsjdk/samtools/util/HttpUtils.java 32.258% <0%> (-3.226%) 2% <0%> (-1%)
...samtools/util/AsyncBlockCompressedInputStream.java 76% <0%> (+4%) 13% <0%> (+1%) ⬆️

Copy link
Contributor

@yfarjoun yfarjoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks.

* HttpUtilsTest is flakey because it connects to remote web servers.
Moved it to the testExternalAPIs test task
* changed a broken link so that the tests pass again
* make sure the OutputStreams are always buffered
* change close behavior to be more likely to close all output streams in
the event of an early shutdown
* loosen restriction from BufferedWriter to Writer in
SAMSequenceDictionaryCodec and SAMTextHeaderCodec
@lbergelson lbergelson merged commit 4c8dfbd into master Feb 18, 2019
@lbergelson lbergelson deleted the lb_fasta_writer_fixes branch February 18, 2019 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants